<?php
if (!defined('BASEPATH'))
	exit('No direct script access allowed');

//Controller to display simple page content
class Information extends CI_Controller {

	public function about_us() {
		$data['title'] = "About Us";
		$data['categories']=$this->mod_globals->select_all(PREFIX_TABLE."categories");
		$data['brands']=$this->mod_globals->select_all(PREFIX_TABLE."brands");
		$this -> load -> view(F_MASTER . 'index', $data);
	}
	public function contact() {
		$data['title'] = "Contact Us";
		$data['categories']=$this->mod_globals->select_all(PREFIX_TABLE."categories");
		$data['brands']=$this->mod_globals->select_all(PREFIX_TABLE."brands");
		$this -> load -> view(F_MASTER . 'index', $data);
	}
	public function privacy_policy() {
		$data['title'] = "Privacy & Policy";
		$data['categories']=$this->mod_globals->select_all(PREFIX_TABLE."categories");
		$data['brands']=$this->mod_globals->select_all(PREFIX_TABLE."brands");
		$this -> load -> view(F_MASTER . 'index', $data);
	}
	public function terms_conditions() {
		$data['title'] = "Terms & Conditions";
		$data['categories']=$this->mod_globals->select_all(PREFIX_TABLE."categories");
		$data['brands']=$this->mod_globals->select_all(PREFIX_TABLE."brands");
		$this -> load -> view(F_MASTER . 'index', $data);
	}
	

}
